package com.htc.dp.filter;

/**
 * @author: htc
 * @date: Created in 17:36 2018/6/7.
 */
public class HtmlFilter implements Filter {
    @Override
    public void doFilter(Request request, Response response, FilterChain chain) {
        request.setRequestStr(request.getRequestStr().replace("<", "[").replace(">", "]") + "--->HTMLFilter()");
        chain.doFilter(request, response, chain);
        response.setResponseStr("---HTMLFilter()");
    }
}
